Restore file's original name after a failed rename_replace on Windows 9X
authorPo Lu <luangruo@yahoo.com>
Fri, 14 Jun 2024 02:44:20 +0000 (10:44 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 14 Jun 2024 02:45:02 +0000 (10:45 +0800)
commita458dc5dc828cfbe5d74226d6ef45a3d205cb7d8
tree780d96eddea66c83d50d69210a98ab25fad68fb4
parent4124b98509bf049a3ccf0f7319b7edf7cae3b6a0
Restore file's original name after a failed rename_replace on Windows 9X

* src/w32.c (sys_rename_replace): If the rename operation fails
and an intermediate name was generated and applied to the input
file, restore the original.
src/w32.c